<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri='http://java.sun.com/jsp/jstl/functions' prefix="fn"%>
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>文件上传</title>
<style type="text/css">
#main {
	width: 1000px;
	height: 800px;
	margin: 0px auto;
}

#main h1 {
	text-align: center;
}

#main table {
	width: 100%;
	border-collapse: collapse;
}

#main table td {
	border: 1px solid #cc0;
}

#main table td {
	text-align: center;
	font-size: 3em;
}

#main p {
	text-align: center;
}
</style>
</head>

<body>
	<div id="main">
		<h1>文件下载</h1>
		<p>
			<c:forEach items="${files}" var='fname'>

				<a href='download.down?filename=${fname}'>${fname}</a>
				<br>
			</c:forEach>
		</p>
	</div>

	<script type="text/javascript" src="./js/jquery-3.2.1.js"></script>
	<script type="text/javascript">
		
	</script>
</body>

</html>